package com.testdemo.web.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.testdemo.web.vo.Question;
import com.testdemo.web.vo.QuestionTypeCount;

public interface QuestionDao {
	 
	public void insert(Question q); 
	public int delete(@Param("question_id") Integer id);	
	public List<Question> list(@Param("user_id") Integer userid, 
			@Param("type_id") Integer typeid); 
	public List<QuestionTypeCount>  listQuestionsCount(@Param("user_id") Integer userid,
			@Param("type_id") Integer typeid);  
}
 